package com.peanut.baby.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by anonymouslystudio on 2017/7/28.
 */

public class BBSMoment implements Serializable{

    @SerializedName("id")
    public int id;
    @SerializedName("userId")
    public int userId;
    @SerializedName("nickname")
    public String nickname;
    @SerializedName("avatar")
    public String avatar;
    @SerializedName("type")
    public String type;
    @SerializedName("title")
    public String title;
    @SerializedName("content")
    public String content;
    @SerializedName("commentCount")
    public int commentCount;
    @SerializedName("viewCount")
    public int viewCount;
    @SerializedName("updateTime")
    public long updateTime;
    @SerializedName("imgUrl")
    public String imgUrl;

    @Override
    public String toString() {
        return "BBSMoment{" +
                "id=" + id +
                ", userId=" + userId +
                ", nickname='" + nickname + '\'' +
                ", avatar='" + avatar + '\'' +
                ", type='" + type + '\'' +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", commentCount=" + commentCount +
                ", viewCount=" + viewCount +
                ", updateTime=" + updateTime +
                ", imgUrl='" + imgUrl + '\'' +
                '}';
    }
}
